/* 
 * File:   PointerKey.h
 * Author: igui
 *
 * Created on 29 de mayo de 2011, 01:49 AM
 */

#ifndef POINTERKEY_H
#define	POINTERKEY_H

#include "../interfacesCol/HashedKey.h"

/// una clave que almacena un puntero
class PointerKey: public HashedKey
{
private:
    void *pointer;
public:
    PointerKey(void *pointer);
    
    bool equals(IKey *k);
    int hash();
};

#endif	/* POINTERKEY_H */

